package com.bootdo.cms.service;

import com.bootdo.cms.domain.MemberDO;
import com.bootdo.cms.vo.MemberVO;

import java.util.List;
import java.util.Map;

/**
 * @author KonBAI
 * @version 1.0
 * Create by 2019/12/18 03:14
 */
public interface MemberService {
	
	MemberDO get(Long memberId);

	MemberDO getByUsername(String username);

	List<MemberDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MemberDO member);
	
	int update(MemberDO member);

	int remove(Long memberId);
	
	int batchRemove(Long[] memberIds);

	int resetPwd(MemberVO memberVO);
}
